package com.xyazm.customer.controller;

import com.xyazm.customer.domain.param.CustomerAuditAfterSaleParam;
import com.xyazm.customer.service.ICustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 客服服务
 * @author xuyou
 * @date 2022年07月20日 21:30
 */
@RestController
@RequestMapping("/customer")
public class CustomerController {

    @Autowired
    private ICustomerService customerService;

    /**
     * 客服售后审核
     * @author xuyou
     * 2022/7/20 0020 21:32
     * @param param
    */
    @PostMapping("/audit/afterSale")
    public void customerAuditAfterSale(@RequestBody CustomerAuditAfterSaleParam param) {
        customerService.customerAuditAfterSale(param);
    }



}

